import {createStore} from 'vuex'
import {getters} from './getters'
import {app} from './modules/app'
import {user} from './modules/user'
import {permission} from "./modules/permission";
import {map} from "./modules/map";
import {cesiumMap} from './cesium/cesiumMap'
import {gaodeMap} from "./gaode/gaodeMap";

const store = createStore({
    modules: {
        app,
        user,
        permission,
        map,
        cesiumMap,
        gaodeMap,
    },
    getters
})

export {store}
